< previous page page_14 next page >

Page 14
With the advent of Windows, Microsoft developed Visual Basic, which is a visual (graphical) version of BASIC. Since its introduction, Visual Basic has developed into an extremely powerful application development tool, leaving its reputation as a beginners' language far behind.
One very nice feature of Visual Basic is the fact that you can use it to create a solid application very quickly. As you'll see throughout this book, Visual Basic makes short work of what would normally be very time-consuming programming tasks. This frees up the programmer to spend his time developing the application's functionality, rather than spending time on mundane, repetitive programming tasks. Visual Basic is often referred to as a Rapid Application Development (RAD) tool.
Visual Basic Is a Smart Language
The main reason why Visual Basic is so popular and powerful is the same reason behind the success of Windows. Microsoft took a complex technology (writing computer programs) and made it easier to use through a graphical interface. Suppose you have to write a program for your company. In a visual programming environment, you can quickly design the windows that the user sees by drawing and arranging them just as you would lay out elements for a newspaper. In a text-based programming system, you control the user interface through program language commands. Common sense tells you that the visual programming method is easier for newcomers to learn and requires less time to maintain. In this case, the old adage ''a picture is worth a thousand words" truly applies.
However, do not let me give you the impression that Visual Basic is just another pretty interface. Another key concept of Visual Basic is the ability to create and use self-contained components, or objects. One type of object that you learn about very shortly is a Visual Basic control.
Controls are elements you can use when designing a user interface, just like the real-life controls on a car dashboard. These controls can be used to display information (like a speedometer) or take action (like the ignition switch). The underlying operations of the car, such as the relationship between ignition, starter, and engine, are hidden from the driver; he "communicates" with the car through a clearly defined interface. In the same way, Visual Basic controls enable you to add features to your programs without you having to be involved in the details of how these features work. For example, receiving input from a user of your program is as simple as drawing a control that accepts input. This is a great advantage of visual programming languagesyou can concentrate on what you want your program to do, not how to get the programming language to do it.
The Importance of Designing Your Program
A college English professor of mine was once describing different types of novelists: "A traditionalist author usually orders his story beginning-middle-end, a modernist might reverse that order, and a post-modernist would only include two of the three parts."

 
< previous page page_14 next page >